home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / programming / emacs-complete / fsf / emacs / src / s / aix3-2.h < prev    next >
C/C++ Source or Header  |  1994-03-03  |  1KB  |  35 lines

  1. /* s- file for building Emacs on AIX 3.2.  */
  2.  
  3. #include "aix3-1.h"
  4.  
  5. #define AIX3_2
  6.  
  7. /* No need to define this--the header files indicate X11R4,
  8.    and that's supposedly what 3.2 will come with.  */
  9. #undef SPECIFY_X11R4
  10.  
  11. #ifndef __GNUC__
  12. /* Some programs in src produce warnings saying certain subprograms
  13.    are to comples and need a MAXMEM value greater than 2000 for
  14.    additional optimization.  --nils@exp-math.uni-essen.de */
  15. #define C_SWITCH_SYSTEM -ma -qmaxmem=4000
  16. #endif
  17. #define HAVE_ALLOCA
  18. #undef rindex
  19. #undef index
  20.  
  21. #define HAVE_FSYNC
  22.  
  23. /* With this defined, a gcc-compiled Emacs crashed in realloc under AIX
  24.    3.2, and a cc-compiled Emacs works with this undefined.
  25.    --karl@cs.umb.edu.  */
  26. #undef SYSTEM_MALLOC
  27.  
  28. /* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g"
  29.    because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because
  30.    "cc -g" crashes. Go figure.  --floppy@merlin.mit.edu */
  31. #ifndef __GNUC__
  32. #define C_SWITCH_DEBUG -g
  33. #define C_SWITCH_OPTIMIZE
  34. #endif
  35.